Maximise Window
AutomatR.Windows.Activities.Actvities.MaximiseWindow
The "Maximise Window" activity in AutomatR is part of the UI Automation for Windows activities package, allowing you to maximize the specified window. This activity is particularly useful for optimizing the visibility and accessibility of windows in your automation processes.
Properties
Name | Description |
---|---|
Input | |
Process Name | Enter the process name of the window app that needs to be maximized. String variables containing the process name. |
Display Title | Enter the title of the window app that needs to be maximized. String variables containing the window title. |
Process Title | Enter the process title of the window app that needs to be maximized. String variables containing the process title. |
Current Window | When enabled, indicates the current active window for the activity. Boolean variables specifying the activation state. Default is true. |
Window | Enter the variable for the window app that needs to be maximized. SelectorWindow variables containing information about the window. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Enter the wait time in seconds (e.g., 5 seconds) before starting the activity. Integer variables containing the delay duration. |
How to use:
- Drag and drop the "Maximise Window" activity onto the workflow.
- Configure the properties by specifying the process name, display title, process title, or selector window of the window you want to maximize.
- Optionally, configure the delay and indicate whether to use the current active window.
- Execute the workflow to maximize the specified window.
Example: Consider an example where the "Maximise Window" activity is used to maximize the Notepad application window:
Maximise Window:
Process Name: "notepad"
Display Title: "Untitled - Notepad"
Delay: 2
In this example, the activity maximizes the Notepad application window with the specified process name and display title after a delay of 2 seconds. Adjust the properties based on your specific automation requirements.